package com.ruoyi.system.domain;

import java.util.List;

import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.common.core.domain.entity.SysRole;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备对象 fa_aps_device
 * 
 * @author ruoyi
 * @date 2021-09-16
 */
public class FaApsDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer deviceId;

    /** 设备类型ID */
    @Excel(name = "设备类型ID")
    private Integer devicetypeId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String name;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String number;

    public FaApsDevicetype getFaApsDevicetype() {
        return faApsDevicetype;
    }

    public void setFaApsDevicetype(FaApsDevicetype faApsDevicetype) {
        this.faApsDevicetype = faApsDevicetype;
    }

    private FaApsDevicetype faApsDevicetype;

    public void setDeviceId(Integer deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Integer getDeviceId() 
    {
        return deviceId;
    }
    public void setDevicetypeId(Integer devicetypeId) 
    {
        this.devicetypeId = devicetypeId;
    }

    public Integer getDevicetypeId() 
    {
        return devicetypeId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceId", getDeviceId())
            .append("devicetypeId", getDevicetypeId())
            .append("name", getName())
            .append("number", getNumber())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("faApsDevicetype", getFaApsDevicetype())
            .toString();
    }
}
